/*
 * Created on Dec 19, 2003
 */
package org.vectrics.recruiter.struts.tag;

import java.util.Collection;
import java.util.HashSet;
import java.util.Set;
import org.apache.log4j.Logger;
import org.vectrics.provider.CoreServiceLocator;
import org.vectrics.user.web.struts.UserPrivilegesSelectTag;

/**
 * @author mmoore
 */
public class RecruitUserPrivilegesSelectTag extends UserPrivilegesSelectTag {

	private static final long serialVersionUID = -3016147563142394078L;
	
	private transient final Logger log = Logger.getLogger(this.getClass()); 

	protected Collection getRoles() {
		log.debug("getRoles() called");
		
		Set roles = new HashSet();
		roles.addAll(CoreServiceLocator.getPersonService().findAllUserPrivilegeTypes());
		return (roles);
	}

}
